package com.li.service;

import com.li.dao.UserMapper;
import com.li.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> selectAllUserById(List<String> uids) {
        return userMapper.selectAllUserById(uids);
    }

    @Override
    public User login(String account, String password) {
        return userMapper.login(account,password);
    }
}
